home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
BBS-Archive
/
Dev
/
ace23.lha
/
PRGS.lha
/
ExternFunc
/
func2.b
< prev
next >
Wrap
Text File
|
1994-07-31
|
278b
|
17 lines
{*
** A test of external function use.
** sub2.s (assembled to produce sub2.o)
** is used in conjunction with this:
**
** bas -O func2 sub2.o
*}
defint x,y
declare function subtract%(x%,y%) external
input "enter x: ",x
input "enter y: ",y
print x;"-";y;"=";subtract(x,y)